<?php 
/*
* 底部信息
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
	
	<div id="footerbg"></div><!--footerbg--> 
    <div id="footer">
	 <footer>
		 <div class="fcontainer">
         	<div class="footerbar">
                <div class="footerinfo">
                	<h4 class="footertitleinfo">　</h4>
                    <p><a href="<?php echo BLOG_URL; ?>"><?php echo $blogname; ?></a></p>
                    <?php echo $bloginfo; ?><br>
                     
					<span class="rss"><a href="<?php echo BLOG_URL; ?>rss.php">RSS</a></span>
					<span class="twitter"><a href="http://t.qq.com/wulinlw" target="_balank">舞林微博</a></span><br>
					<span class="twitter"><a href="http://t.qq.com/cu19890611zn" target="_balank">cuzn微博</a></span><br>
                                
                 Powered by <a href="http://www.emlog.net" title="emlog <?php echo Option::EMLOG_VERSION;?>">emlog</a><br>
                <a href="http://www.miibeian.gov.cn" target="_blank"><?php echo $icp; ?></a> <?php echo $footer_info; ?>
                <?php doAction('index_footer'); ?>
				</div>
				
            
                <ul>
					<!--最新文章，非首页显示-->
					<li class="widgit-layout">
						<h4 class="footertitlepost">Recent Posts</h4>
							<ul>
									<li>
									<?php
	                                global $CACHE; 
	                                $newLogs_cache = $CACHE->readCache('newlog');
	                                ?>
	                                <ul id="newlogs">
	                                <?php foreach($newLogs_cache as $value): ?>
	                                <li><a href="<?php echo Url::log($value['gid']); ?>"><?php echo $value['title']; ?></a></li>
	                                <?php endforeach; ?>
	                                </ul>

									</li>
									
							</ul>
					</li>
        
                    <!--标签显示，非首页显示-->
					<li class="widgit-layout2">
						<h4 class="footertags">Tags</h4>
							<ul>
							    <li>
							    <?php
	                            global $CACHE;
	                            $tag_cache = $CACHE->readCache('tags');
                                ?>
	                            <ul id="blogtags">
	                            <?php foreach($tag_cache as $value): ?>
		                        <span style="font-size:<?php echo $value['fontsize']; ?>pt; line-height:30px;">
		                        <a href="<?php echo Url::tag($value['tagurl']); ?>" title="<?php echo $value['usenum']; ?> 篇日志"><?php echo $value['tagname']; ?></a></span>
	                            <?php endforeach; ?>
	                            </ul>
								</li>
						   </ul>
					</li>
					
				</ul>
		    
			
			</div>
            <div id="copyright"></div>
            
		</div><!--.xcontainer 这个是用来页面居中的-->	
      </footer>
	  <script type="text/javascript"> // 这个是导航栏的动画
	jQuery(document).ready(function() {
	$("#nav ul").css({display: "none"}); // Opera Fix
	$("#nav li").hover(function(){
			$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);
			},function(){
			$(this).find('ul:first').fadeOut(200)
			});	
	$("#nav a").hover(function(){
					$(this).stop().animate({marginTop:"2px"},100);}
				,function(){
					$(this).stop().animate({marginTop:"0px"},100);
			});
			$("#nav ul a").hover(function(){
					$(this).stop().animate({marginLeft:"10px"},200);}
				,function(){
					$(this).stop().animate({marginLeft:"0px"},200);
			});		
	});
	</script>
    <script src="<?php echo TEMPLATE_URL; ?>/js/Oneirojs.js"></script>
    </div><!--footer--> 
</div><!--#main-->
</body></html>